Sun Aug  9 02:12:45 CEST 2009  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s(_clib_initialisemodule): A couple of micro
	optimisations.

Sat Mar 28 14:40:18 CET 2009  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s(_clib_entermodule): Updated comments.
	* include/kernel.h: 'unsigned' -> 'unsigned int';
	(_kernel_swi,_kernel_swi_c,_kernel_osfind): Constify input pointer.

Fri Oct 24 02:09:51 CEST 2008  John Tytgat  <John.Tytgat@aaug.net>

	* incl-local/internal/scl-macros.s: Added, provides MakePtr and
	DefSCLFnc macros.
	* riscos/redirect_setjmp.s: Make use of scl-macros.s.
	* riscos/chunkstub.s: Likewise.
	* riscos/chunkid01.s: Likewise.
	* riscos/chunkid02.s: Likewise.
	* riscos/chunkid04.s: Likewise.
	* riscos/chunkid05.s: Likewise.
	* incl-local/sys/cdefs.h(strong_alias,weak_function,
	weak_const_function,weak_alias): Added.

Mon Oct 13 02:19:00 CEST 2008  John Tytgat  <John.Tytgat@aaug.net>

	* Makefile.am: Fix typo.

Fri Jun 13 01:31:04 CEST 2008  John Tytgat  <John.Tytgat@aaug.net>

	* include/string.h(stricmp,strnicmp): Added prototype.
	(strdup): Added malloc attribute.
	* include/stdlib.h(malloc,calloc): Added malloc attribute.
	* Makefile.am(string/strnicmp.c,string/stricmp.c): Added.
	* string/strnicmp.c: Link to UnixLib version.
	* string/stricmp.c: Link to UnixLib version.
	* string/strdup.c: Replaced by a link to UnixLib version.

Sun Feb  3 20:31:14 CET 2008  John Tytgat  <John.Tytgat@aaug.net>

	* stdlib/_exit.c (_Exit): Removed, we have this in our stubs defined.
	* stdio/fdopen.c (fdopen): Protected against silly fd values but the
	implementation looks wrong to me anyway.
	* stdio/fileno.c: Removed blank line.
	* Makefile.am: Added sources from stdio and string subdirectories.

Mon Jan 14 04:03:56 CET 2008  John Tytgat  <John.Tytgat@aaug.net>

	* include/stdio.h: Changed type FILE:__file from void* to int as
	it is like in the Castle C/C++ headers.

Sun Nov 25 11:36:06 PST 2007  Peter Naulls  <peter@chocky.org>

	* include/swis.h: Massive number of missing SWIs. Thanks to Rob F.
	Johnson.

Sun Nov 25 19:30:02 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* include/stdio.h: Removed multiple declarations of the same
	functions.

Tue Nov 13 00:12:05 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/chunkid01.s: End pointer of chunk branch table should point
	after the "MOV PC, #0" section and not after the 2nd part of the
	branch table; added .size attribute.
	* riscos/chunkid02.s: Likewise.
	* riscos/chunkid04.s: Likewise.
	* riscos/chunkid05.s: Likewise.

Sun Nov 11 01:08:20 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* incl-local/internal/asm_dec.s: Added license terms.

Sun Sep  2 02:19:43 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* include/alloca.h: New.
	* include/setjmp.h(__JMP_BUF_SIZE): Define it one word bigger than
	what SCL requires so we can track head of alloca chain.
	* include/stdint.h: Fixed wrong (c) statement.
	* include/kernel.h(__rt_allocauto,__rt_freeauto): Add prototype.
	* gcc-compat/b_return.c: Removed.
	* gcc-compat/divdi3.s: Likewise.
	* gcc-compat/gcc_alloca.c: Likewise.
	* gcc-compat/moddi3.s: Likewise.
	* gcc-compat/udivdi3.s: Likewise.
	* gcc-compat/umoddi3.s: Likewise.
	* gcc-compat: Renamed to...
	* gcccompat: ...this.
	* gcccompat/_b_frame.s: New file which just includes the equivalent
	file from UnixLib.
	* gcccompat/_b_return.s: Likewise.
	* gcccompat/galloca.c: Likewise.
	* gcccompat/_galloca.s: Likewise.
	* riscos/redirect_setjmp.s(setjmp,longjmp): wrappers for
	__libscl_redirected_setjmp and __libscl_redirected_longjmp setting
	and restoring the head of alloca chain.
	* riscos/chunkid01.s: Updated comment.
	* riscos/chunkid02.s: Updated comment; renamed setjmp/longjmp to
	__libscl_redirected_setjmp and __libscl_redirected_longjmp.
	* riscos/chunkid04.s: New file based on info found at
	<URL:http://select.riscos.com/prm/programmer/c99lowlevel.html>.
	* riscos/chunkid05.s: Updated comments based on info found at
	<URL:http://select.riscos.com/prm/programmer/c99support.html>.
	* Makefile.am(AM_CPPFLAGS): Look in incl-local directory for include
	files.
	(AM_CFLAGS): Add -mlibscl
	(AM_CCASFLAGS): Look in incl-local directory for include files; add
	-mlibscl.
	Added new assembler files.
	* incl-local/internal/elf-macros.s: New file which includes the
	equivalent file from UnixLib.
	* incl-local/internal/asm_dec.s: New file defining SCL stack chunk
	fields.

Thu Aug 16 23:43:34 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* Makefile.am (tooldir): Define, so that partial build (or
	out-of-tree) of libscl works.

Mon Aug 13 19:33:59 2007  Lee Noar  <leenoar@sky.com>

	* riscos/stubs.s: Call static global constructors and
	destructors for non-module code.

Sun Aug 12 19:12:29 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/chunkid01.s: rename .bss section into
	.bss.riscos.libscl.chunkstub.id01 so that in ld's elf.sc and
	armelf_riscos.sh script we can sort by section name as the
	SharedCLibrary seems to want having the chunk's static data
	blocks in the same order (and without gaps) as the chunk order
	defined by R0 on entry of SWI SharedCLibrary_LibInitAPCS_32.
	* riscos/chunkid02.s: Likewise.

Fri Jul 27 03:10:01 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: Added explanation from Ben Avison on
	kallocExtendsWS.

Mon Jun 18 00:52:00 2007  Peter Naulls  <peter@chocky.org>

	* include/swis.h: Added OS_HeapSort32 and PDriver_ SWIs.

Sun Jun 17 21:51:28 2007  Alex Waugh  <alex@alexwaugh.com>

	* stdio/fdopen.c (fdopen): Implement function.
	* stdio.h: Remove incorrect fileno macro
	* stdio/fileno.c: New file to implement fileno. This allows c++
	fstreams to work.

Mon May 28 08:15:56 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/chunkid01.s: Make _stub_kallocExtendsWS .global.

Mon May 28 03:33:46 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: moved chunks to...
	* riscos/chunkstub.s,riscos/chunkid01.s,riscos/chunkid02,
	riscos/chunkid05.s: ...here.
	* Makefile.am: Follow riscos/stubs.s split.
	* README: Added C++ & float argument in va_args list as known
	problems.

Sun May 27 18:10:24 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: Exported __gcc_vfscanf,__gcc_vscanf and
	__gcc_vsscanf as aliases for vfscanf, vscanf and vsscanf.
	Problem reported by Rob Kendrick.

Wed May 16 20:12:00 2007  Lee Noar  <leenoar@sky.com>

	* include/sys/elf.h: Standard header file defining structures and
	values used in the ELF file format.
	* Makefile.am: Add above file to list of those to install.

Tue Apr 10 19:19:05 2007  Lee Noar  <leenoar@ntlworld.com>

	* gcc-compat/gcc_alloca.c: New file defining __gcc_alloca as a
	dummy function that calls abort().
	* gcc-compat/b_return.c: New file defining __builtin_return_address
	as a dummy function that calls abort().
	* Makefile.am: Add above files to build.

	The above functions are required to prevent configure tests failing
	with undefined symbol linker errors. The problem is that libgcc refers
	to these symbols somewhere in its code. Normally, with a static library,
	this isn't a problem as the objects within the library that reference
	these symbols are not pulled in by the linker. However, with a libgcc
	DSO, the linker has to look at the library as a single entity, and is
	forced to resolve these symbols even if the executable never uses them.

Sat Mar 24 16:58:41 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: test on __TARGET_MODULE__ in order to exclude non
	relevant code and relocation directives.  Renamed c_next to ___init.

Mon Mar 12 00:04:06 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: workaround for a problem in prerelease Select 4
	26-bit SCL as this needs the processor mode in the return value on
	the stack before calling _kernel_moduleinit.

Tue Mar 06 00:33:25 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: significant number of changes resulting in a proper
	ELF stub for SCL based modules.
	* include/stdio.h: __LIB_VERSION is now 500 as we're targeting SCL 5.

Sun Jan 21 21:28:01 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* riscos/stubs.s: enabled the _Lib$Reloc$Off$DP definition for module
	use (needed by CMunge assembler code).

Thu Jan 18 02:02:30 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* Makefile.am: install libscl headers in
	$prefix/arm-unknown-riscos/include/libscl.

Sun Jan  7 20:20:55 CET 2007  John Tytgat  <John.Tytgat@aaug.net>

	* Start of v2.0 development for GCCSDK 4: made copy of GCCSDK 3.4.6
	and converted stubs.s from AOF to ELF.  Other C and asm sources files
	have not been enabled nor updated yet.  Integrated it in GCCSDK 4
	build.
